package com.gzdh.device.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gzdh.device.system.entity.SysPermission;
import com.gzdh.device.system.entity.SysUser;
import com.gzdh.device.system.vo.AccountAllVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper extends BaseMapper<SysUser> {

    IPage<AccountAllVo> getSysUserListByPage(IPage<SysUser> sysUserIPage);

    List<SysPermission> getSysUserRoleByRoleId(@Param("roleId") String roleId, @Param("type") String type);
}
